package com.yiren.manager.form.messhall;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.base.YrPersonDetailForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrFoodMealsApplyForm extends GenericForm{

	private static final long serialVersionUID = 4611162840650364847L;

	private String foodMealsApplyId;

	private int approveStatus;

	private String createId;

	private Date createTime;

	private String foodMealsId;

	private String relationCardId;

	private String relationId;

	private String relationName;

	private int relationType;

	private String updateId;

	private Date updateTime;
	
	private Date applyDate;
	
	private YrPersonDetailForm personDetailForm;
	
	private YrFoodMealForm foodMealForm;
	
	public YrFoodMealForm getFoodMealForm() {
		return foodMealForm;
	}

	public void setFoodMealForm(YrFoodMealForm foodMealForm) {
		this.foodMealForm = foodMealForm;
	}

	public YrPersonDetailForm getPersonDetailForm() {
		return personDetailForm;
	}

	public void setPersonDetailForm(YrPersonDetailForm personDetailForm) {
		this.personDetailForm = personDetailForm;
	}

	public Date getApplyDate() {
		return applyDate;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public String getFoodMealsApplyId() {
		return foodMealsApplyId;
	}

	public void setFoodMealsApplyId(String foodMealsApplyId) {
		this.foodMealsApplyId = foodMealsApplyId;
	}

	public int getApproveStatus() {
		return approveStatus;
	}

	public void setApproveStatus(int approveStatus) {
		this.approveStatus = approveStatus;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFoodMealsId() {
		return foodMealsId;
	}

	public void setFoodMealsId(String foodMealsId) {
		this.foodMealsId = foodMealsId;
	}

	public String getRelationCardId() {
		return relationCardId;
	}

	public void setRelationCardId(String relationCardId) {
		this.relationCardId = relationCardId;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getRelationName() {
		return relationName;
	}

	public void setRelationName(String relationName) {
		this.relationName = relationName;
	}

	public int getRelationType() {
		return relationType;
	}

	public void setRelationType(int relationType) {
		this.relationType = relationType;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
